package com.qijian.tool.domain.query;

import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Set;


/**
 * 汇率对象 查询条件类
 *
 * @author qijian
 * @date 2022-03-04
 */

@Data
@ToString
@TableName("fin_exchange_rate")
public class ExchangeRateQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "month")
    private String month;
    @WhereType(filed = "currency_type", type = WhereTypeEnum.LIKE)
    private String currencyType;
    @WhereType(filed = "exchange_rate")
    private BigDecimal exchangeRate;
    @WhereType(filed = "is_enabled")
    private Boolean isEnabled;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
}
